#include "UP_GD32F4xx.h"

UP_TIMER_PARAMS uc_timer_params_default = {
    .prescaler = 0,
    .frequency = 0,
    .period_ms = 0,
    .disable   = 0,
};

UP_I2C_PARAMS uc_i2c_params_default = {
    .scl_gpio  = {0},
    .scl_af    = GPIO_AF_4,
    .sda_gpio  = {0},
    .sda_af    = GPIO_AF_4,
    .clkspeed  = 400000,
    .mode      = I2C_I2CMODE_ENABLE,
    .addformat = I2C_ADDFORMAT_7BITS,
};

UP_SPI uc_spi_default = {
    .spi_init_struct = {0},
    .pin_sck         = {0},
    .pin_mosi        = {0},
    .pin_miso        = {0},
    .pin_nss         = {0},
    .pin_io2         = {0},
    .pin_io3         = {0},
};